<?php

class Map extends Controller {

	function Map()
	{
		parent::Controller();	
		$this->load->model('mapmodel');
		$this->load->helper('url');
	}
	
	function index()
	{
		$data['photos'] = $this->mapmodel->loadPhotoBar();
		$data['photosMarkers'] = $this->mapmodel->loadPhotosMarkers();
		$data['markers'] = $this->mapmodel->loadGeoMarkers();
		$data['tags'] = $this->mapmodel->loadTagBar();
		
		
		$this->output->set_header('Content-type:text/html; charset=utf-8'); // For Safari
		$this->load->view('header');
		$this->load->view('map',$data);
		$this->load->view('footer');
	}
}

/* End of file map.php */
/* Location: ./system/application/controllers/map.php */
?>